package com.iam.edu.ad.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.iam.common.mybatis.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author kele
 * @since 2022-10-25
 */
@Getter
@Setter
@TableName("promotion_space")
public class PromotionSpace extends BaseEntity {

    private static final long serialVersionUID = 1L;

      @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @Schema(description = "名称")
    @TableField("name")
    private String name;

    @Schema(description = "广告位key")
    @TableField("spaceKey")
    private String spaceKey;

    @TableField("isDel")
    private Integer isDel;


}
